//
//  JXPOIDetailView.h
//  JXAddressApp
//
//  Created by zhhw_home on 2018/11/4.
//  Copyright © 2018年 zhhw_home. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol JXPOIDetailViewDelegate <NSObject>

- (void)startNavigation:(NSDictionary*)item;

- (void)editorAction:(NSDictionary*)item;

- (void)imageClick:(NSInteger)index view:(UIButton*)view;

@end

@interface JXPOIDetailView : UIView

- (instancetype)initWithFrame:(CGRect)frame flag:(NSInteger)flag;

@property (nonatomic, weak) id<JXPOIDetailViewDelegate> delegate;

@property (nonatomic, assign)   NSInteger  flag;

- (void)updateInfo:(NSDictionary*)info;

- (void)updateImages:(NSArray*)images;

@end

NS_ASSUME_NONNULL_END
